package com.xyy.saas.payment.service;

import com.xyy.saas.payment.dao.model.XydCheckDataQueryParam;
import com.xyy.saas.payment.dao.model.XydRepayPlanQueryParam;
import com.xyy.saas.payment.manage.cores.vo.ResultPageVo;
import com.xyy.saas.payment.pojo.vo.XydCheckDataVo;
import com.xyy.saas.payment.pojo.vo.XydRepayPlanDetailVo;
import com.xyy.saas.payment.pojo.vo.XydRepayPlanVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author liujf
 */
public interface XydLoanService {
    /**
     * 下载并保存小雨点渠道记账文件
     */
    void downloadAndSaveFinances(String checkDate);
    void downloadAndSaveFinances(String fileType, String checkDate, String checkCycle);
    ResultPageVo<List<XydCheckDataVo>> queryAccountList(XydCheckDataQueryParam param);

    ResultPageVo<List<XydRepayPlanVo>> queryRepayPlanList(XydRepayPlanQueryParam param);

    List<XydRepayPlanDetailVo> queryRepayPlanDetail(String payNo);

    void exportAccountList(XydCheckDataQueryParam param, HttpServletResponse response);

    void exportRepayPlanList(XydRepayPlanQueryParam param, HttpServletResponse response);
}
